/*
Author : 
	aziza yasser: 15898607
	sayli hidir: 06061308
*/

#include "ListeEl.h"
 
ListeEl::ListeEl(NUM n, WERT w, DATE d, Cell *p) : BaseEl(n, w, p), date(d) { }

ListeEl::~ListeEl(){
	date = 0;
}

void ListeEl::SetDate(DATE d) {
	date = d;
}
DATE ListeEl::GetDate(void) {
	return date;
}
void ListeEl::display(void) {
	cout << "NUM :" << GetNum() << ", WERT : " << GetWert() << ", DATE : "<< date << " ----> ";
}

Cell* ListeEl::copy(){
	return new ListeEl(GetNum(), GetWert(), date);
}

